/*
 * cgeHazeFilter.h
 *
 *  Created on: 2015-2-1
 *      Author: Wang Yang
 */

#ifndef _CGE_HAZEFILTER_H_
#define _CGE_HAZEFILTER_H_

#include "cgeGLFunctions.h"

namespace CGE
{
class CGEHazeFilter : public CGEImageFilterInterface
{
public:
    // Range: [-0.5, 0.5], default: 0.2
    void setDistance(float value);
    // Range: [-0.5, 0.5] defualt: 0
    void setSlope(float value);

    // Range: [0, 1], Defualt: all 1
    void setHazeColor(float r, float g, float b);

    bool init();

protected:
    static CGEConstString paramDistance;
    static CGEConstString paramSlope;
    static CGEConstString paramHazeColor;
};
} // namespace CGE

#endif